tyNamespace.Component = cc.Class.extend({
    type: tyNamespace.ComponentType.Shun,
    tileType: null,
    tileTypeValue: 0,
    tile: null,
    tiles: [],
    status: tyNamespace.TileStatus.Li,
    core: null,

    ctor: function (type, tiles) {
    	this.core = null;
        this.tile = tiles[0];
        this.type = type;
        this.tileType = this.tile.type;
        this.tiles = tiles;
    },
    
    setCore: function (comp) {
    	this.core = comp;
    }
});